//
//  HQCDepartViewController.h
//  NursingManages
//
//  Created by Zhen Huang on 17/6/2.
//  Copyright © 2017年 huangzhen. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface HQCDepartViewController : UIViewController
<UITableViewDelegate,
UITableViewDataSource,
UISearchBarDelegate>
@property (nonatomic ,strong) UITableView *tableview;
@property (nonatomic ,strong) NSMutableArray *dataArray;
@property (nonatomic ,strong) UISearchBar *mySearchBar;
@property (nonatomic ,strong) UIRefreshControl *refresh;
@property (nonatomic ,strong) NSArray *dataSource;
@property (nonatomic ,copy) NSString *standard_id;
@property (nonatomic ,strong) NSMutableDictionary *dataSourceFilterByFirstChar;

-(NSMutableArray*) GetArrByFirstChar:(NSString*) firstChar;

-(NSMutableArray*) GetArrBySectionNumber:(NSInteger) section;
- (instancetype)initWithType:(NSInteger )type modelArray:(NSMutableArray *)modelArray standard_id :(NSString *)standard_id;

@property (nonatomic, copy) void(^getBlocks) (NSString *dept_name , NSString *dept_id);
@property (nonatomic, copy) void(^getBlock_emp) (NSString *emp_name , NSString *emp_id);
@property (nonatomic, copy) void(^getBlock) (NSArray *array);
@property (nonatomic, copy) void(^getBlock_nurse) (NSString *nurse_name , NSString *nurse_id);
@property (nonatomic, copy) void(^getBlock_Item) (NSString *item_id , NSString *item_name);
@property (nonatomic, copy) void(^getBlocks_codeItem) (NSString *dept_name , NSString *dept_id);

@end
